'''
Author: @zhyy
Date: 2021-01-31 13:29:26
LastEditors: @zhyy
LastEditTime: 2021-02-06 17:53:38
'''
import os

def task_run():
    # cmd='celery worker -A app.tasks.task  -l info eventlet'
    cmd='celery -A app.tasks.task worker -l info -P eventlet'
    os.system(cmd)

if __name__ =="__main__":
    task_run()